package com.primecodegen.common.DmAttrProp;

import com.primecodegen.common.base.*;
import com.primecodegen.util.ComConstants;

/**
 *----------------------------------------------------------
 *----------------------------------------------------------
 * @author Mohammad Awwad
 * Version: v0.0
 * contact: mhmdawwad@gmail.com
 *-----------------------------------------------------------
 *-----------------------------------------------------------
 */
public class DmAttrPropTable extends BaseTable {

    public DmAttrPropTable() {
        init();
    }
    public DmAttrPropOprCols Opr = new DmAttrPropOprCols();
    // ------------Members------------------
    private int ID;
    private String value;
    private int dataModelAttributes_ID;
    private int attributesProperties_ID;
    private String attrPropCode;
    private String attrPropType;
    private String attrPropDescr;
    private String dmAttrCode;

    // -----------Setters & Getters------------------
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getDataModelAttributes_ID() {
        return dataModelAttributes_ID;
    }

    public void setDataModelAttributes_ID(int dataModelAttributes_ID) {
        this.dataModelAttributes_ID = dataModelAttributes_ID;
    }

    public int getAttributesProperties_ID() {
        return attributesProperties_ID;
    }

    public void setAttributesProperties_ID(int attributesProperties_ID) {
        this.attributesProperties_ID = attributesProperties_ID;
    }

    public String getAttrPropCode() {
        return attrPropCode;
    }

    public void setAttrPropCode(String attrPropCode) {
        this.attrPropCode = attrPropCode;
    }

    public String getAttrPropDescr() {
        return attrPropDescr;
    }

    public void setAttrPropDescr(String attrPropDescr) {
        this.attrPropDescr = attrPropDescr;
    }

    public String getAttrPropType() {
        return attrPropType;
    }

    public void setAttrPropType(String attrPropType) {
        this.attrPropType = attrPropType;
    }

    public String getDmAttrCode() {
        return dmAttrCode;
    }

    public void setDmAttrCode(String dmAttrCode) {
        this.dmAttrCode = dmAttrCode;
    }

    @Override
    public void init() {

        ID = ComConstants.UNREALISTIC_INT;
        value = ComConstants.UNREALISTIC_STRING;
        dataModelAttributes_ID = ComConstants.UNREALISTIC_INT;
        attributesProperties_ID = ComConstants.UNREALISTIC_INT;
        attrPropCode = ComConstants.UNREALISTIC_STRING;
        attrPropType = ComConstants.UNREALISTIC_STRING;
        attrPropDescr = ComConstants.UNREALISTIC_STRING;
        dmAttrCode = ComConstants.UNREALISTIC_STRING;
    }
}
